package com.sgu6.sgu6_machine.event;


import com.sgu6.sgu6_machine.dto.ListGoodsSimpleDto;

import java.io.Serializable;
import java.util.List;

public class UpdateGoodsInfoEvent implements Serializable {
    /**
     * varietyName : 测试稻米一
     * goodsSortDtoList : [{"id":"70f23f3121d541dabcc4b78838a10260","name":"糙米","title":"糙米","categoryId":"70f23f3121d541dabcc4b78838a99268","shortContent":"糙米","content":"富含纤维素，有减肥、降胆固醇、通便等作用","model":"长粒","price":0.01,"photo":[{"id":"44td368ad22147cead0a62301c6ad727","imgUrl":"/Upload/goods/20161026/caomi.jpg","sort":1,"show":true}],"varietyName":"测试稻米一","sort":1,"enable":true},{"id":"70f23f3121d541dabcc4b78838a10261","name":"胚芽米","title":"胚芽米","categoryId":"6097b2ffd5ae4da181cf0ecfaa85af6b","shortContent":"胚芽米","content":"富含微量元素，容易消化吸收，适合老人和小孩食用","model":"长粒","price":10,"photo":[{"id":"44td368ad22147cead0a62301c6ad747","imgUrl":"/Upload/goods/20161026/peimi.jpg","sort":1,"show":true}],"varietyName":"测试稻米一","sort":2,"enable":true},{"id":"70f23f3121d541dabcc4b78838a10262","name":"精米","title":"精米","categoryId":"08d79493bf0c4cc1ba7b3546a20ce2ae","shortContent":"精米","content":"精细加工，颗粒洁净饱满，口感极佳","model":"长粒","price":0.01,"photo":[{"id":"44td368ad22147cead0a62301c6ad737","imgUrl":"/Upload/goods/20161026/jingmi.jpg","sort":1,"show":true}],"varietyName":"测试稻米一","sort":3,"enable":true}]
     */
//    public String barnId;
    public List<ListGoodsSimpleDto> goodsSortDtoList;

    public UpdateGoodsInfoEvent(List<ListGoodsSimpleDto> goodsSortDtoList) {
        this.goodsSortDtoList = goodsSortDtoList;
    }
}
